package com.ghd.dataviz.core.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ：ghd
 * @date ：Created in 2020-03-10 22:25
 * @description：分页参数
 * @modified By：
 * @version: 1.0$
 */
@Data
@ApiModel("分页参数")
public class BasePageParam {
    /**
     * 总数
     */
    @ApiModelProperty(value = "总数")
    private long total = 0;
    /**
     * 每页显示条数，默认 10
     */
    @ApiModelProperty(value = "每页显示条数", required = true, example = "10")
    private long size = 10;
    /**
     * 当前页
     */
    @ApiModelProperty(value = "当前页", required = true, example = "1")
    private long current = 1;

}
